package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingTravelDetailEntity;

/**
 * 出差旅费报销单明细Mapper接口
 * 
 * @author wutao
 * @date 2024-08-23
 */
public interface KingTravelDetailMapper extends BaseMapper<KingTravelDetailEntity> {
    /**
     * 查询出差旅费报销单明细
     * 
     * @param id 出差旅费报销单明细ID
     * @return 出差旅费报销单明细
     */
    public KingTravelDetailEntity selectKingTravelDetailEntityById(String id);

    /**
     * 查询出差旅费报销单明细列表
     * 
     * @param kingTravelDetailEntity 出差旅费报销单明细
     * @return 出差旅费报销单明细集合
     */
    public List<KingTravelDetailEntity> selectKingTravelDetailEntityList(KingTravelDetailEntity kingTravelDetailEntity);

    /**
     * 新增出差旅费报销单明细
     * 
     * @param kingTravelDetailEntity 出差旅费报销单明细
     * @return 结果
     */
    public int insertKingTravelDetailEntity(KingTravelDetailEntity kingTravelDetailEntity);

    /**
     * 修改出差旅费报销单明细
     * 
     * @param kingTravelDetailEntity 出差旅费报销单明细
     * @return 结果
     */
    public int updateKingTravelDetailEntity(KingTravelDetailEntity kingTravelDetailEntity);

    /**
     * 删除出差旅费报销单明细
     * 
     * @param id 出差旅费报销单明细ID
     * @return 结果
     */
    public int deleteKingTravelDetailEntityById(String id);

    /**
     * 批量删除出差旅费报销单明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingTravelDetailEntityByIds(String[] ids);
}
